﻿using System;
using System.Collections.Generic;

namespace TCKQKL.FrontEnd.DataModel
{
    /// <summary>
    /// Trading result per AccountNo
    /// </summary>
    public class TotalTradingResultUI
    {
        private InvestorDataProfileUI _investorProfile;
        public InvestorDataProfileUI InvestorProfile
        {
            get { return _investorProfile; }
            set { _investorProfile = value; }
        }
        private List<TradingResultUI> _tradingResults;
        public List<TradingResultUI> TradingResults
        {
            get { return _tradingResults; }
            set { _tradingResults = value; }
        }
        
        private decimal _totalValue;
        public decimal TotalValue
        {
            get { return _totalValue; }
            set { _totalValue = value; }
        }
        private decimal _totalFee;
        public decimal TotalFee
        {
            get { return _totalFee; }
            set { _totalFee = value; }
        }
        public TotalTradingResultUI()
        {

        }
        public TotalTradingResultUI(InvestorDataProfileUI profile, List<TradingResultUI> result, decimal value, decimal fee)
        {
            this._investorProfile = profile;
            this._tradingResults = result;
            this._totalValue = value;
            this._totalFee = fee;
        }
    }
}
